#pragma once

enum Err
{
    USAGE_ERR = 1,
    SOCK_CREATE_FAILED,
    SOCK_BIND_FAILED,
    SOCK_LISTEN_FAILED,
    SOCK_ACCEPT_FAILED,
    SOCK_CONNECT_FAILED,
    SET_UNBLOCK_FAILED,
    EPOLL_CREATE_FAILED,
    EPOLL_ADD_FAILED,
    EPOLL_WAIT_FAILED,
    RECV_FAILED,
    WATCH_LISTENSOCK_FAILED,
    READ_ERR,
    SEND_FAILED
};